home *** CD-ROM | disk | FTP | other *** search
- /*
- * SFskyedit - Star Fighter 3000 sky colours editor
- * Back-end functions
- * Copyright (C) 2001 Chris Bazley
- */
-
- #ifndef SFSBackend_h
- #define SFSBackend_h
-
- #include <stdbool.h>
- #include "SFformats.h"
-
- extern char *clipboard;
- extern int clipboard_size;
-
- extern void open_gap(SF_SkyColours **sky, int start_band, int size);
- extern char get_shade(SF_SkyColours **sky, int pos);
- extern void write_shade(SF_SkyColours **sky, int pos, char mode13col);
- extern void smooth_section(SF_SkyColours **sky, int start_band, int end_band);
- extern bool copy_to_clipboard(SF_SkyColours **sky, int start_band, int end_band);
- extern void insert_from_clipboard(SF_SkyColours **sky, int start_band);
- extern void wipe_clipboard(void);
- extern void plain_insert(SF_SkyColours **sky, int start_band, int size, char mode13col);
- extern void gradient_insert(SF_SkyColours **sky, int start_band, int size, char start_col, char end_col, unsigned int end_flags);
-
-
- extern void plain_overwrite(SF_SkyColours **sky, int start_band, int end_band, char mode13col);
- extern void remove_bands(SF_SkyColours **sky, int start_band, int end_band);
- extern void gradient_overwrite(SF_SkyColours **sky, int start_band, int end_band, char start_col, char end_col, unsigned int end_flags);
-
- #endif
-